package _15_generics._15_7;

/**
 * 如果某个类有返回T的方法，泛型就有帮助
 */
public class _06_ReturnGenericType<T extends HasF> {
    private T obj;
    public _06_ReturnGenericType(T x){
        this.obj = x;
    }
    public T get(){
        return obj;
    }
}
